runtime/pprof.profileBuilder.stringIndex (method)
11 uses
runtime/pprof (current package)
proto.go#L133: func (b *profileBuilder) stringIndex(s string) int64 {
proto.go#L154: b.pb.int64(tagValueType_Type, b.stringIndex(typ))
proto.go#L155: b.pb.int64(tagValueType_Unit, b.stringIndex(unit))
proto.go#L174: b.pb.int64Opt(tagLabel_Key, b.stringIndex(key))
proto.go#L175: b.pb.int64Opt(tagLabel_Str, b.stringIndex(str))
proto.go#L195: b.pb.int64Opt(tagMapping_Filename, b.stringIndex(file))
proto.go#L196: b.pb.int64Opt(tagMapping_BuildID, b.stringIndex(buildID))
proto.go#L648: b.pb.int64Opt(tagFunction_Name, b.stringIndex(fn.name))
proto.go#L649: b.pb.int64Opt(tagFunction_SystemName, b.stringIndex(fn.name))
proto.go#L650: b.pb.int64Opt(tagFunction_Filename, b.stringIndex(fn.file))
protomem.go#L25: b.pb.int64Opt(tagProfile_DefaultSampleType, b.stringIndex(defaultSampleType))